Parallel current mode control

ABSTRACT

A method and apparatus to implement parallel current mode control that is suitable for digital and analog implementation. A duty cycle algorithm is composed of a voltage term and a parallel current term which depends on the inductor current change between the inductor current value at the beginning of a switching cycle and the reference inductor current value at the end of that switching cycle. Parallel current mode control can be applied to all DC-DC converters, including both non-isolated and isolated topologies. It can also be applied to AC-DC converters with power factor correction.

FIELD OF INVENTION

This invention relates to electronic power supply converters for energy systems and more particularly to DC-DC converter and AC-DC converter with power factor correction.

BACKGROUND OF INVENTION AND PRIOR ART

Digital control is becoming more and more popular because of the process advancement of CMOS technology. In addition, the power requirement is becoming more and more complicated and the conventional analog control method can no longer meet this requirements. Digital control of power converter and power system can meet these more and more complicated power requirement. It is expected that digital control will replace analog control in switching power converters.

At the present time, the control algorithms used in digital controllers are translated directly from analog algorithms. In other words, they are digital implementation of the algorithms that are optimized for analog implementation. They are not optimized for digital implementation.

For DC-DC converter, current mode control is widely used because of its advantages. Peak current mode control, average current mode control, and hysteresis current mode control are three commonly used current mode control methods.

Current mode control can improve the dynamic performance of the DC-DC converter significantly because it utilizes the inductor current information, together with the output voltage information. Unfortunately, the conventional current mode control methods are optimized for analog implementation. It is very difficult to implement those methods using digital circuits.

Thus, there is a need for a new current mode control method that is suitable for both analog and digital implementation. It is called parallel current mode control. The parallel current mode control can be applied to both DC-DC converter and AC-DC converter with power factor correction.

There are several disadvantages in existing digital control PFC implementation systems based on conventional current mode control, such as high computational requirement, limited switching frequency and high cost. Predictive control methods are being explored and implemented in digital controlled PFC in order to take full advantage of digital techniques. One such digital current program control using a predictive algorithm was presented by Chen et al in “Predictive Digital Current programmed Control”, IEEE Transactions on Power Electronics, Vol 18, No 1, January 2003, pp411-419. In that paper, the duty cycle, d(n+1), was calculated based on the value of the present duty cycle d(n) and sensed inductor current, input voltage and output voltage. Unity power factor was achieved. The first disadvantage is that the duty cycle calculation requires the duty cycle value in the previous switching cycle. Second, the computation requirement is not obviously reduced compared to that in the digital PFC implementation based on current mode control. Bibian et al, in “Digital Control with improved performance for boost power factor correction circuits”, Applied Power Electronics Conference and Exposition 2001, 16^(th) Annual IEEE, pp137-143 proposed dead-beat predictive control in which a predicted duty cycle was used to control the switch during a control period which is equivalent to several or several tens switching cycles. The duty cycles were fixed during one control period. Computation was reduced in that control method. However, the harmonics in the line current was increased compared to the control method in which the duty cycle was calculated in every switching cycle. The computation requirement in digital PFC implementations was reduced further by the techniques proposed by Zhang et al in APEC 2003, pp 403-409 and PESC 2003, pp335-341 because all the duty cycles for a half line period were calculated in advance based on the voltage loop and the input voltage feed-forward. However, the current waveform is sensitive to the parameters of the model and the capability of the regulation to the step load change is not satisfied when the load variation is wide. Thus there is still a need for a direct duty cycle control algorithm with low calculation requirement for digital power factor correction implementation.

OBJECT OF INVENTION

One object of the present invention is to provide a method to achieve current mode control that is optimized for digital implementation. The proposed parallel current mode control can achieve this objective.

Another object of the present invention is to provide a method that is optimized for digital implementation to achieve unity power factor for AC-DC converter. The proposed PFC control method can be implemented by a low cost DSP, FPGA or ASIC due to its low computation requirement. It overcomes the disadvantages of the existing digital PFC techniques mentioned above, such as high computation requirement, model sensitivity and increased harmonics.

BRIEF STATEMENT OF INVENTION

By one aspect of this invention there is provided a method for controlling power factor under steady and transient state conditions in an AC-DC power supply converter system with power factor correction based on Boost topology, comprising:

-   -   (a) determining input voltage (V_(in)(n)) and reference output         voltage (V_(ref)) in said system,     -   (b) determining reference input current (i_(ref)(n+1)), actual         inductor current (i_(L)(n)) in said system, and     -   (c) controlling a duty cycle (d(n)) in said system according to         the algorithm         ${d(n)} = {{\frac{L}{T_{s}}\frac{{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}}{V_{ref}}} + \frac{V_{ref} - {V_{in}(n)}}{V_{ref}}}$         where L is inductor value and T_(s) is switching period,     -   so as to provide a power factor approaching unity.         By another aspect of this invention there is provided an         apparatus for controlling power factor in an electronic digital         AC to DC power supply converter system, comprising:     -   (a) voltage input means connected to a first analog to digital         converter (ADC) so as to generate a first output signal which is         fed to a first adder which also receives a reference output         voltage signal (V_(ref)) so as to generate a second output         signal which is used to generate a third output signal including         a factor of $K_{C} = {\frac{L}{T_{s} \cdot V_{ref}}.}$     -   (b) a second analog to digital converter (ADC) to receive an         inductor current signal and generate a fourth output signal         which is fed into a second adder which also receives an         reference input current, so as to generate a fifth output signal         which is used to generate a sixth output signal including a         factor Kc, where $\frac{1}{V_{ref}}.$     -   (c) means to feed said sixth output signal and said third output         signal to a third adder so as to generate an output signal         representative of a required duty cycle.         By yet another aspect of this invention there is provided a         method for controlling output voltage under steady and transient         state conditions in an electronic DC-DC power supply converter         system based on Boost topology, and isolated Boost topology         comprising:     -   (a) determining input voltage (V_(in)(n)) and reference output         voltage (V_(ref)) in said system,     -   (b) determining reference input current (i_(ref)(n+1)), actual         inductor current (i_(L)(n)) in said system, and     -   c) controlling a duty cycle (d(n)) in said system according to         the algorithm         ${d(n)} = {{\frac{L}{T_{s}}\frac{{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}}{V_{ref}}} + \frac{V_{ref} - {V_{in}(n)}}{V_{ref}}}$         where L is inductor value, T, is switching period, and where N         is transformer turns ratio for the isolated Boost converter, N=1         for Boost converter,     -   so as to provide the output voltage approaching the reference         output voltage.         Other aspects of this invention will become apparent from a         reading of this specification and claims appended hereto.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a block diagram illustrating serial current mode control;

FIG. 2 is a circuit diagram for a Buck-Boost converter;

FIG. 3 is a block diagram of parallel current mode control;

FIG. 4 is a circuit diagram of Boost converter topology;

FIG. 5 is a block diagram of parallel current mode control for a Boost converter;

FIG. 6 is a general block diagram of parallel current mode control;

FIG. 7 is a block diagram of parallel current mode control for closed loop operation;

FIG. 8 is a block diagram showing a Boost converter under parallel current mode control;

FIG. 9 is a block diagram showing analog implementation of parallel current mode control for Boost converter;

FIG. 10 is a block diagram showing parallel current mode control for PFC using a Boost converter;

FIG. 11 is a block diagram showing analog implementation of parallel current mode control for PFC using a Boost converter;

FIG. 12 is a block diagram showing analog implementation using Automatic Gain Control; and

FIG. 13 is a block diagram showing a simplified analog implementation without Automatic Gain Control.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

According to the present control method, the duty cycle is composed of two parallel terms. The first term is called the “voltage term”. It depends on the input voltage and the desired output voltage. The expression of this term depends on the topology of the switching converters. Essentially, this term is determined by the volt-second balance of the specific converter. The second term is called the “current term” and it depends on the inductor current change between the inductor current value at the beginning of the switching cycle and the reference inductor current value at the end of that switching cycle. With this parallel current mode control method, the inductor current of the converter, such as Buck-Boost, Boost, Buck, etc., will follow the reference current with a difference gap between the reference current value and actual inductor current value. This difference gap is determined by the load condition. At the same time, the output voltage of the converter will exactly follow the reference voltage in the voltage closed loop implementation which will be elaborated in section 2. In fact, it is because the difference gap between the reference inductor current and actual inductor current that the output voltage can follow the reference voltage without error. This control philosophy essentially distinguishes from the conventional current mode control and any other control methods with two regulators (one for voltage regulation and one for current regulation) constructed serially.

The present parallel current mode control can be applied to all DC-DC converters, including both non-isolated and isolated topologies. It can also be applied to AC-DC converter with power factor correction.

The present parallel current mode control is optimized for digital implementation. It can also be implemented by analog implementation.

The block diagram of the conventional current mode control is shown in FIG. 1. The output voltage is sensed and compared with the reference voltage. The output of the voltage error amplifier is used as the reference current (i_(ref)) for the inductor current. The current controller forces the inductor current to follow the reference current. The output of the current controller is the duty cycle that is used to turn on and turn off the switches in the DC-DC converter. In this configuration, the duty cycle is produced by the current controller only. The output voltage impacts the duty cycle indirectly, through the reference current i_(ref). This can be considered as serial configuration as the duty cycle is determined solely by the current controller, which is then affected by the voltage error amplifier. Therefore, the conventional current mode control can be called as serial current mode control.

1. Basic Idea of Parallel Current Mode Control

1.1. Parallel Current Mode Control for Buck-Boost Converter

The basic idea of Parallel Current Mode Control can best be explained by using the Buck-Boost converter as an example, as shown in FIG. 2. It is assumed that the Buck-Boost converter operates at Continuous Conduction Mode (CCM). When switch Q is on, the inductor current can be expressed as: $\begin{matrix} {{L\frac{\mathbb{d}i_{L}}{\mathbb{d}t}} = {{V_{in}\quad{T_{s}(n)}} \leqq t < {{T_{s}(n)} + {{d(n)}T_{s}\quad\left( {{on}\quad{time}} \right)}}}} & (1) \end{matrix}$

When switch Q is off, the inductor current can be expressed as: $\begin{matrix} {{L\frac{\mathbb{d}i_{L}}{\mathbb{d}t}} = {{{{- V_{0}}\quad{T_{s}(n)}} + {{d(n)}T_{s}}} \leqq t < {{T_{s}\left( {n + 1} \right)}\quad\left( {{off}\quad{time}} \right)}}} & (2) \end{matrix}$

It is noted that the inductor current changes linearly during the operation. Therefore, the inductor current at the beginning of the next switching period (n+1), which is the same as that at the end of the present switching period (n) can be expressed as: $\begin{matrix} {{i_{L}\left( {n + 1} \right)} = {{i_{L}(n)} - \frac{{V_{0}(n)} \cdot T_{s}}{L} + \frac{\left( {V_{0} + V_{in}} \right) \cdot {d(n)} \cdot T_{s}}{L}}} & (3) \end{matrix}$

In the above equation, i_(L)(n) indicates the inductor current value at the beginning of the present switching period. i_(L)(n+1) indicates the inductor current value at the beginning of the next switching period. d(n) indicates the duty cycle for switching period n. Equation (3) reveals the relation between the inductor current at the beginning of the next switching period, i_(L)(n+1), and the inductor current at the beginning of the present witching period, i_(L)(n), the input voltage, V_(in)(n), output voltage, V_(o), and the duty cycle for present switching period, d(n). T_(s) is the switching period and L is the inductor value.

Equation (3) can be re-arranged as: $\begin{matrix} {{d(n)} = {{\frac{L}{T_{s}} \cdot \frac{{i_{L}\left( {n + 1} \right)} - {i_{L}(n)}}{{V_{in}(n)} + V_{0}}} + \frac{V_{0}}{{V_{in}(n)} + V_{0}}}} & (4) \end{matrix}$

Equation (4) indicates that in order to force the inductor current to reach value of i_(L)(n+1) at the beginning of next switching period, the duty cycle determined by equation (4) should be applied for the present switching period. This is a very important observation. This fact indicates one method to control the operation of the Buck-Boost converter.

It is proposed that the inductor current at the end of the switching cycle, i_(L)(n+1) can be replaced by a reference current, i_(ref)(n+1). It is also observed that under normal operating condition, the output voltage, V_(o), is very close to the desired reference voltage, V_(ref). Therefore, the term V, in equation (4) can be replaced by the reference voltage V_(ref). Therefore, the duty cycle can be generated as: $\begin{matrix} {{d(n)} = {\frac{V_{ref}}{{V_{in}(n)} + V_{ref}} + {\frac{L}{T_{s}} \cdot \frac{1}{{V_{in}(n)} + V_{ref}} \cdot \left\lbrack {{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}} \right\rbrack}}} & (5) \end{matrix}$

The above equation can be further simplified as: d(n)=duty_(buck) _(—) _(boost)(V)+duty _(—) _(boost)  (I)  (6) In the above equation, $\begin{matrix} {{{duty}_{{buck}_{—}{boost}}(V)} = \frac{V_{ref}}{{V_{in}(n)} + V_{ref}}} & (7) \\ {{{duty}_{{buck}_{—}{boost}}(I)} = {\frac{L}{T_{s}} \cdot \frac{1}{{V_{in}(n)} + V_{ref}} \cdot \left\lbrack {{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}} \right\rbrack}} & (8) \end{matrix}$

Equation (6) shows that the duty cycle for switching period n depends on two terms. One is voltage term and the other is current term. The voltage term, duty_(buck) _(—) _(boost)(V), depends on the input voltage and the desired output voltage, or reference voltage. The current term, duty_(buck) _(—) _(boost)(I), depends on the difference between the reference current at the beginning of next switching period and the inductor current at the beginning of the present period, as well as the input voltage and reference voltage.

FIG. 3 shows the block diagram of this control method. It is observed from the block diagram that the duty cycle is generated by two parallel loops, the loop representing the voltage term and the loop representing the current term. Therefore, this control method is called Parallel Current Mode Control.

In FIG. 3, the block DC-DC converter can be any PWM switching converters. The input voltage is sensed and fed into the block “voltage term calculation”. The reference voltage is also fed into the “voltage term calculation” block, which performs the calculation for voltage term. For Buck-Boost converter, the voltage term duty cycle, is expressed by equation (7). The inductor current, i_(L)(n), and input voltage, V_(in)(n), are sensed and fed into the block “current term calculation”. Reference voltage, V_(ref), and reference current, i_(ref)(n+1) are also fed into the “current term calculation” block, which performs the calculation for current term. For Buck-Boost converter, the current term duty cycle, is expressed by equation (8). The output of the voltage term calculation and the output of the current term calculation are added together by the adder. The output of the adder is the duty cycle signal and it is used to turn on the switch of the DC-DC converter. With parallel current mode control method, equation (5), the inductor current of the Buck-Boost converter will follow the reference current with a difference gap between the reference current value and actual inductor current value. This difference gap is determined by the load condition. At the same time, the output voltage of the Buck-Boost converter will exactly follow the reference voltage in the voltage closed loop implementation which will be elaborated in section 2.

In order to simplify the implementation, equation (6), (7) and (8) can be re-written as: $\begin{matrix} {{d(n)} = \frac{{{duty\_ V}_{buck\_ boost}(V)} + {{duty\_ V}_{buck\_ boost}(I)}}{{V_{in}(n)} + V_{ref}}} & (6.1) \\ {{{duty\_ V}_{buck\_ boost}(V)} = V_{ref}} & (7.1) \\ {{{duty\_ V}_{buck\_ boost}(I)} = {\frac{L}{T_{s}} \cdot \left\lbrack {{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}} \right\rbrack}} & (8.1) \end{matrix}$

Based on parallel current mode control, the control algorithm for Flyback converter can be derived as: $\begin{matrix} {{d(n)} = {\frac{N \cdot V_{ref}}{{V_{in}(n)} + {N \cdot V_{ref}}} + {\frac{L}{T_{s}} \cdot \frac{1}{{V_{in}(n)} + {N \cdot V_{ref}}} \cdot \left\lbrack {{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}} \right\rbrack}}} & (5.1) \end{matrix}$ where L is inductor value and T_(s) is switching period, and N is transformer turns ratio which is defined as the ratio of primary turns over secondary turns. Equation (5.1) can be simplified to equation (5) when N=1. 1.2. Parallel Current Mode Control for Boost Converter

It is noted that the parallel current mode control algorithms for other switching converters can also be derived in a similar way. Another example of how to derive the parallel current mode control is given for Boost converter as shown in FIG. 4. It is assumed that the Boost converter operates at Continuous Conduction Mode (CCM). When switch Q is on, the inductor current can be expressed as: $\begin{matrix} {{L\frac{\mathbb{d}i_{L}}{\mathbb{d}t}} = {{V_{in}\quad{T_{s}(n)}} \leq t < {{T_{s}(n)} + {{d(n)}{T_{s}\left( {{on}\quad{time}} \right)}}}}} & (9) \end{matrix}$

When switch Q is off, the inductor current can be expressed as: $\begin{matrix} {{L\frac{\mathbb{d}i_{L}}{\mathbb{d}t}} = {{V_{in} - {V_{o}\quad{T_{s}(n)}} + {{d(n)}T_{s}}} \leq t < {{T_{s}\left( {n + 1} \right)}\left( {{off}\quad{time}} \right)}}} & (10) \end{matrix}$

Therefore, the inductor current at the beginning of the next switching period (n+1), which is same as that at the end of the present switching period (n) can be expressed as: $\begin{matrix} {{i_{L}\left( {n + 1} \right)} = {{i_{L}(n)} + \frac{{V_{in}(n)} \cdot T_{s}}{L} - \frac{{V_{o}\left\lbrack {1 - {d(n)}} \right\rbrack} \cdot T_{s}}{L}}} & (11) \end{matrix}$

The required duty cycle for switching period n can be derived as: $\begin{matrix} {{d(n)} = {{\frac{L}{T_{s}} \cdot \frac{{i_{L}\left( {n + 1} \right)} - {i_{L}(n)}}{V_{o}}} + \frac{V_{o} - {V_{in}(n)}}{V_{o}}}} & (12) \end{matrix}$

It is proposed that the inductor current at the end of the switching cycle, i_(L)(n+1) can be replaced by a reference current, i_(ref)(n+1). It is also observed that under normal operating condition, the output voltage, V_(o), is very close to the desired reference voltage, V_(ref). Therefore, the term V_(o) in equation (12) can be replaced by the reference voltage V_(ref). Therefore, the duty cycle can be generated as: $\begin{matrix} {{d(n)} = {{\frac{L}{T_{s}} \cdot \frac{{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}}{V_{ref}}} + \frac{V_{ref} - {V_{in}(n)}}{V_{ref}}}} & (13) \end{matrix}$

Equation (13) can be further simplified as: d(n)=duty _(boost)(V)+duty _(boost)(I)  (14)

The expression for voltage term and current term in equation (14) is: $\begin{matrix} {{{duty}_{boost}(V)} = \frac{V_{ref} - {V_{in}(n)}}{V_{ref}}} & (15) \\ {{{duty}_{boost}(I)} = {\frac{L}{T_{s} \cdot V_{ref}} \cdot \left\lbrack {{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}} \right\rbrack}} & (16) \end{matrix}$

The block diagram for parallel current mode control for Boost converter is shown in FIG. 5. In the figure, the “voltage term calculation” block implements the calculation of equation (15) and the “current term calculation” block implements the calculation of equation (16). With this parallel current mode control method, equation (13), the inductor current of the Boost converter will follow the reference current with a difference gap between the reference current value and actual inductor current value. This difference gap is determined by the load condition. At the same time, the output voltage of the Boost converter will exactly follow the reference voltage in the voltage closed loop implementation which will be elaborated in section 2.

The difference between FIG. 3 and FIG. 5 is that the current term calculation for the Boost converter (shown in FIG. 5) does not require V_(in)(n). Therefore, FIG. 3 can be considered as a more general block diagram for parallel current mode control for switching converters.

Based on parallel current mode control, the control algorithm for isolated Boost converter can be derived as: $\begin{matrix} {{d(n)} = {{\frac{L}{T_{s}} \cdot \frac{{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}}{N \cdot V_{ref}}} + \frac{{N \cdot V_{ref}} - {V_{in}(n)}}{N \cdot V_{ref}}}} & (13.1) \end{matrix}$ where L is inductor value, T_(s) is switching period, and N is transformer turns ratio which is defined as the ratio of primary turns over secondary turns. Equation (13.1) can be simplified to equation (13) when N=1.

1.3. Parallel Current Mode Control for other DC-DC Converters

The control algorithm of parallel current mode control for Buck converter can also be derived by the same method described above and is shown in the following equations. $\begin{matrix} {{d(n)} = {{\frac{L}{T_{s}} \cdot \frac{{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}}{V_{in}(n)}} + \frac{V_{ref}}{V_{in}(n)}}} & (17) \end{matrix}$

The above expression can also be separated into voltage term and current term as following: $\begin{matrix} {{d(n)} = {{{duty}_{buck}(V)} + {{duty}_{buck}(I)}}} & (18) \\ {{{duty}_{buck}(V)} = \frac{V_{ref}}{V_{in}(n)}} & (19) \\ {{{duty}_{buck}(I)} = {\frac{L}{T_{s} \cdot {V_{in}(n)}} \cdot \left\lbrack {{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}} \right\rbrack}} & (20) \end{matrix}$

The implementation of the parallel current mode control for Buck converter can also be realized by FIG. 3, where the voltage term calculation block performs the calculation defined by equation (19) and the current term calculation block performs the calculation defined by equation (20). With this parallel current mode control method, equation (17), the inductor current of the Buck converter will follow the reference current with a difference gap between the reference current value and actual inductor current value. This difference gap is determined by the load condition. At the same time, the output voltage of the Boost converter will exactly follow the reference voltage in the voltage closed loop implementation which will be elaborated in section 2.

In order to simplify the implementation, equation (18), (19) and (20) can be re-written as: $\begin{matrix} {{d(n)} = \frac{{{duty\_ V}_{buck}(V)} + {{duty\_ V}_{buck}(I)}}{V_{in}(n)}} & (18.1) \\ {{{duty\_ V}_{buck}(V)} = V_{ref}} & (19.1) \\ {{{duty\_ V}_{buck}(I)} = {\frac{L}{T_{s}} \cdot \left\lbrack {{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}} \right\rbrack}} & (20.1) \end{matrix}$

With this arrangement, only one divider is needed.

Based on parallel current mode control, the control algorithm for Forward, Push-Pull, Half-Bridge, Full-Bridge topologies is derived as: $\begin{matrix} {{d(n)} = {{\frac{L}{T_{s}} \cdot \frac{{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}}{K \cdot {{V_{in}(n)}/N}}} + \frac{V_{ref}}{K \cdot {{V_{in}(n)}/N}}}} & (17.1) \end{matrix}$ where L is inductor value, T_(s) is switching period, where K=1 for Forward, Push-Pull, and Full-Bridge converters and K=0.5 for Half-Bridge converter, and where N is transformer turns ratio which is defined as the ratio of primary turns over secondary turns. Equation (17.1) can be simplified to equation (17) when N=1 and K=1. 1.4. General Block Diagram of Parallel Current Mode Control

FIG. 6 provides the general block diagram of the parallel current mode control. In FIG. 6, V_(in)(t) represents the sensed input voltage. i_(L)(t) represents the sensed inductor current. i_(ref)(t) represents the reference current. V_(ref) represents the reference output voltage. The duty cycle d(t) is determined by the sum of outputs of voltage and current term calculation. The voltage and current term calculation algorithm depend on the specific converter topology.

2. Closed Loop Implementation of Parallel Current Mode Control

Closed loop operation is required in order to regulate the output voltage tightly. The closed loop implementation of the parallel current mode control is illustrated in FIG. 7. The output voltage is sensed and fed into the voltage error amplifier. The reference voltage is also fed into the voltage error amplifier. The output of the voltage error amplifier is the reference current. Under closed loop operation, if the output voltage is lower than the reference voltage, the output of the voltage error amplifier will be increased and thus the inductor current value will be increased and then the output voltage will be increased to the reference voltage.

FIG. 7 is a general block diagram. The control algorithms can be implemented using digital circuits. They can also be implemented using analog circuits.

This section provides the detailed implementation of parallel current mode control using digital implementation and sampling the inductor current at the beginning of switching period. Digital control is, by its nature, a discrete control. This means that samples of inductor current, input voltage, output voltage, etc. are normally taken in every switching period. The fact that the inductor current is sampled at the beginning of switching period is significant for digital control. This provides the latest possible information for the controller to decide the required duty cycle for the present switching period.

2.1. Boost Converter Implementation

FIG. 8 illustrates the block diagram for a Boost converter operating under parallel current mode control. The inductor current is sampled at the beginning of every switching period. The analog value of the inductor current is converted into digital value by the ADC 1 (Analog to Digital Converter) at the beginning of the switching period. The analog value of the input voltage is converted into digital value by ADC 2 (Analog to Digital Converter) at the beginning of the switching period. The analog value of the output voltage is converted into digital value by ADC 3. The output voltage is compared with the reference voltage V_(ref) through the voltage error amplifier and its output is used as the reference value for inductor current. The difference between the reference current, i_(ref)(n+1), and the inductor current, i_(L)(n), is calculated by adder 2. The output of adder 2, A2, is scaled by a constant K_(C) through gain block 2. From equation (16), the value of Kc is defined as: K _(C) =L/(T _(s) *V _(ref))  (21)

Adder 2 and gain block 2 perform the current term calculation, as given by equation (16).

The difference between the input voltage and the reference voltage is calculated by adder 1. The output of adder 1, A1, is scaled by a constant, 1/V_(ref), through gain block 2. Adder 1 and gain block 1 perform the voltage term calculation as given by equation (15). The output of these two gain blocks, G1 and G2, are added together by adder 3 to generate the required duty cycle D(n). D(n) is a digital value corresponding to the required duty cycle. This digital value is converted into required pulse width through DPWM (Digital Pulse Width Modulation block). The output of the DPWM is fed into the gate drive block to turn on and turn off the MOSFET effectively.

It should be noted that the implementations shown in FIG. 8 may not the best way to implement the control strategy of parallel current mode control for Boost converter as defined by equations (14), (15) and (16). It is conceivable that better implementation methods could be developed by a person skilled in the art.

2.2. Other Converter Implementation

The implementation for other converters, such as Buck, Buck-Boost, etc., can be implemented in the same way, as will be obvious to anyone skilled in the art.

2.3. Analog Implementation

Although the proposed parallel current mode control is optimized for digital implementation. It can also be implemented by analog circuits.

2.3.1. Analog Control Algorithms for Parallel Current Mode Control

The control algorithms for parallel current mode control are expressed in digital format. The analog expression of the parallel current mode control can be derived. From equations (6.1), (7.1), and (8.1), the analog algorithms for Buck-Boost converter under parallel current mode control can be derived as: $\begin{matrix} {{d(t)} = \frac{{{duty\_ V}_{buck\_ boost}(V)} + {{duty\_ V}_{buck\_ boost}(I)}}{{V_{in}(t)} + V_{ref}}} & (22) \\ {{{duty\_ V}_{buck\_ boost}(V)} = V_{ref}} & (23) \\ {{{duty\_ V}_{buck\_ boost}(I)} = {\frac{L}{T_{s}} \cdot \left\lbrack {{i_{ref}(t)} - {i_{L}(t)}} \right\rbrack}} & (24) \end{matrix}$

Similarly, the analog algorithms for Boost converter under parallel current mode control can be derived from equations (14), (15), and (16) as following: $\begin{matrix} {{d(t)} = {{{duty}_{boost}(V)} + {{duty}_{boost}(I)}}} & (25) \\ {{{duty}_{boost}(V)} = \frac{V_{ref} - {V_{in}(t)}}{V_{ref}}} & (26) \\ {{{duty}_{boost}(I)} = {\frac{L}{T_{s} \cdot V_{ref}} \cdot \left\lbrack {{i_{ref}(t)} - {i_{L}(t)}} \right\rbrack}} & (27) \end{matrix}$

The analog algorithms for other converters can also be derived in the same way.

2.3.2. Analog Implementation

FIG. 9 illustrates the block diagram of the analog implementation of parallel current mode control for Boost converter. Operational Amplifier 1 (OpAmp1) generates the difference between reference voltage and input voltage. OpAmp2 performs the scale operation to obtain the voltage term in equation (26). OpAmp6 is the voltage error amplifier to amplify the difference between the output voltage and reference voltage. Its output is the reference current for inductor current. OpAmp7 is a low pass filter which effectively calculates the inductor current. OpAmp4 calculates the difference between the reference current and inductor current. OpAmp3 performs the scale operation to obtain the current term in equation (27). The output of voltage term calculation (OP2) and current term calculation (OP3) are added together to get the duty cycle signal by OpAmp5. OP5 is a voltage signal corresponding to the required duty cycle. This signal is converted into pulse width through a Pulse Width Modulator (PWM). The output of PWM is fed into the gate drive circuit to turn on and turn off the MOSFET effectively.

It should be noted that in practice, some of the OpAmps could be combined.

Similarly, the analog implementation for other converters under parallel current mode control can also be developed by a person skilled in the art. The details are not presented here.

2.4. Parallel Current Mode Control Without Input Voltage Feed Forward

For Buck converter and Buck-Boost converter, the input voltage appears in the denominator of the duty cycle calculation in the parallel current mode control. This input voltage feedforward will improve the dynamic performance. At the time, this also requires a divider in the implementation.

In some cases, where the input voltage does not change quickly, or the dynamic performance for input voltage variation is not critical, the input voltage feedforward is not needed. In these cases, the divider is not needed and a gain block can be used. This will simplify the implementation circuit.

Take the Buck-Boost converter under parallel current mode control as an example. Equations (6.1), (7.1), and (8.1) are the control algorithm. When no input voltage feed forward is needed, the term V_(in)(n) can be replaced by a constant voltage. One value of the constant can be the nominal input voltage, V_(in) _(—) _(nom). Therefore, the parallel current mode control algorithms for Buck-Boost converter without input voltage feed forward can be derived as: $\begin{matrix} {{d(n)} = {K_{V} \cdot \left\lbrack {{{duty\_ V}_{buck\_ boost}(V)} + {{duty\_ V}_{buck\_ boost}(I)}} \right\rbrack}} & (28) \\ {{{duty\_ V}_{buck\_ boost}(V)} = V_{ref}} & (29) \\ {{{duty\_ V}_{buck\_ boost}(I)} = {\frac{L}{T_{s}} \cdot \left\lbrack {{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}} \right\rbrack}} & (30) \\ {K_{V} = \frac{1}{V_{in\_ noms} + V_{ref}}} & (31) \end{matrix}$

The parallel current mode control for Buck and other DC-DC converter without input voltage feed forward can also be derived by similar method described above.

3. Parallel Current Mode Control for Power Factor Correction Application

In an AC-DC converter, Power Factor Correction (PFC) is needed in order to meet regulations, such as IEC-1000-3-2 and IEEE-519. In this case, the input ac current is forced to be a sinusoidal wave shape in the same phase with the input voltage. Two terms are used to evaluate how close the ac current is to the ideal sinusoidal. One is defined as Power Factor (PF). The other is defined as Total Harmonic Distortion (THD). When the input current is a pure sinusoidal and in the same phase with the input voltage, the PF is one (1) and THD is zero (0).

3.1. Control Algorithm for Boost Converter to Achieve PFC

Boost converter has been used extensively for power factor correction. The parallel current mode control can be used to control the Boost converter to achieve high power factor with significant advantages over the existing technologies.

Equations (14), (15), and (16), describe the parallel current mode control for DC-DC Boost converter. In order to achieve power factor correction, the reference current, as shown in equation (16), should be a rectified sinusoidal waveform. This means the reference current should be: i _(ref)(n+1)=I _(PK)*|sin(ω_(line) ·t(n+1))|  (32)

In the above equation, I_(PK) is the peak value of the sinusoidal waveform. I_(PK) is obtained from the output of the output voltage error amplifier. ω_(line) is the angular frequency of the line current. |sin(ω_(line)t(n+1))| is the rectified line frequency sinusoidal waveform. Substituting equation (32) to equation (16), the parallel current mode control algorithm for Boost topology using in AC-DC converter to achieve power factor correction can be derived as the following equations: $\begin{matrix} {{d(n)} = {{{duty}_{boost}(V)} + {{duty}_{boost}(I)}}} & (33) \\ {{{duty}_{boost}(V)} = \frac{V_{ref} - {V_{in}(n)}}{V_{ref}}} & (34) \\ {{{duty}_{boost}(I)} = {\frac{L}{T_{s} \cdot V_{ref}} \cdot \left\lbrack {{I_{PK} \cdot {{\sin\left( {\omega_{line} \cdot {t\left( {n + 1} \right)}} \right)}}} - {i_{L}(n)}} \right\rbrack}} & (35) \end{matrix}$ where, different from the parallel current mode control algorithm for Boost converter in DC-DC application, V_(in)(n) in equation (34) is the rectified ac line voltage in AC-DC application with power factor correction. 3.2. Digital Implementation of PFC

FIG. 10 shows the block diagram of parallel current mode control for power factor correction using Boost converter. It is developed based on the block shown in FIG. 8. Following is a list of the difference between FIG. 10 and FIG. 8.

-   -   (1) The dc input voltage in FIG. 8 is replaced by the ac input         voltage and the diode bridge (D1, D2, D3, and D4).     -   (2) Three blocks, zero crossing detector, current waveform         lookup table and multiplier are added.     -   (3) The output of the voltage error amplifier is connected to         one input of the multiplier as lpk in equation (32). Another         input of the multiplier is from the current waveform lookup         table as |sin(ω_(line)t(n+1))| in equation (32)     -   (4) The output of the multiplier is connected to the positive         input of adder 2 as the reference current i_(ref)(n+1) in         equation (32).

The functions of all the other parts are same for FIG. 10 and FIG. 8.

The current waveform lookup table can store the sinusoidal waveform. The zero cross detector and current waveform lookup table are used to generate a rectified sinusoidal waveform with unity peak value. The output of the current waveform lookup table is multiplied together with the output of the voltage error amplifier, IPK. The output of the multiplier is a rectified sinusoidal waveform with peak value determined by the output of the error amplifier, IPK, and the wave shape decided by the current waveform lookup table. It serves as the reference value for the inductor current. The operation of the other parts of the controller is the same as that in FIG. 8.

The following points should be emphasized:

-   -   (1) Sinusoidal waveform lookup table is used to generate a         rectified sine wave to determine the wave shape of the reference         current. The significant advantage of doing so is that the input         ac current can be maintained as sinusoidal even when the input         voltage has significant distortion. For example, experimental         results have demonstrated that when the input ac voltage is a         peak clamped sinusoidal waveform, the input current can still         maintain sinusoidal shape.

(2) The current waveform lookup table can also store any arbitrary waveform which can be used in order to force the input ac current follow to that waveform. For example, when a trapezoidal waveform is stored in the current waveform lookup table, the inductor current will be a one-directional trapezoidal waveform, and the input ac current will be bi-directional trapezoidal waveform. The input voltage can still be sinusoidal. One advantage of this arrangement is that the transient response performance under load current change can be improved because more energy can be taken from the source.

-   -   (3) A lookup table is but one way to generate the required         waveform. Calculation methods can also be used to generate the         required waveform for inductor current, and the current waveform         lookup table can be replaced by a calculation block.

A simplified way can be used to implement AC-DC converter with power factor correction using Boost converter based on parallel current mode control. In this simplified implementation, the zero crossing detection block and the current waveform lookup table block in FIG. 10 are removed. The digitalized input voltage is fed directly to the multiplier. This can simplify the hardware implementation. The sacrifice is that the THD of the input ac current will depend on the THD of the input ac voltage.

3.2.1. Skipping Inductor Current Sampling

In the above discussion, it is implied that the inductor current is sampled every switching period. It is also feasible that the inductor current be sampled once in every few switching periods. For the switching period when the inductor current is sampled, the actual inductor current is used to calculate the duty cycle. For the switching period when the actual inductor current is not sampled, the estimated inductor current is used to calculate the duty cycle. This is called skipping inductor current sampling.

One advantage of skipping inductor current sampling is reduced sampling requirement. This is especially true when multiphase Boost converter is used for power factor correction. Preliminary test results show that the inductor current skipping can be as high as 16 switching periods. In other words, the THD can still be maintained at very low level when the inductor current is sensed once in every 16 switching period. This is especially good for DSP (Digital Signal Processor) of the proposed control method.

3.3. Analog Implementation

The parallel current mode control for Boost converter can also be implemented by analog circuits. The analog control algorithm for Boost converter can be derived from equations (33), (34) an (35) as following: $\begin{matrix} {{d(t)} = {{{duty}_{boost}(V)} + {{duty}_{boost}(I)}}} & (36) \\ {{{duty}_{boost}(V)} = \frac{V_{ref} - {V_{in}(t)}}{V_{ref}}} & (37) \\ {{{duty}_{boost}(I)} = {\frac{L}{T_{s} \cdot V_{ref}} \cdot \left\lbrack {{I_{PK} \cdot {{\sin\left( {\omega_{line} \cdot t} \right)}}} - {i_{L}(t)}} \right\rbrack}} & (38) \end{matrix}$

FIG. 11 shows the block diagram of analog implementation of parallel current mode control for PFC using Boost converter. It is developed based on the block shown in FIG. 9. Following is a list of the difference between FIG. 11 and FIG. 9.

-   -   (1) The dc input voltage in FIG. 9 is replaced by the ac input         voltage and the diode bridge (D1, D2, D3, and D4).     -   (2) Three blocks, zero crossing detector, oscillator, and         multiplier are added.     -   (3) The output of the OpAmp6 is connected to one input of the         multiplier as I_(pk) in equation (38). Another input of the         multiplier is from the oscillator as |sin(ω_(line)t)| in         equation (38)     -   (4) The output of the multiplier is connected to the positive         input of OpAmp4 as the reference current.

The functions of all the other parts are same for FIG. 11 and FIG. 9.

The oscillator can generate rectified sinusoidal waveform. The zero cross detector and oscillator are used to generate a rectified sinusoidal waveform with unity peak value. The oscillator is multiplied together with the output of the OpAmp5 (voltage error amplifier), I_(PK). The output of the multiplier is a rectified sinusoidal waveform with peak value determined by the output of OpAmp5, I_(PK), and the wave shape decided by the oscillator. It serves as the reference value for the inductor current. The operation of the other parts of the controller is the same as that in FIG. 9.

The following points should be emphasized:

-   -   (1) An oscillator is used to generate a rectified sine wave to         determine the wave shape of the reference current. The         significant advantage of doing so is that the input ac current         can be maintained as sinusoidal even when the input voltage has         significant distortion.     -   (2) An oscillator can also generate other waveform shape which         can be used in order to force the input ac current to that         waveform. For example, when the oscillator generates a         trapezoidal waveform, the inductor current will be a         one-directional trapezoidal waveform, and the input ac current         will be bidirectional trapezoidal waveform. The input voltage         can still be sinusoidal. One advantage of this arrangement is         that the transient response performance under load current         change can be improved because more energy can be taken from the         source.

The zero crossing detector and the oscillator can be replaced by an Automatic Gain Control (AGC), as shown in FIG. 12. AGC is used to generate a rectified sinusoidal waveform with fixed peak value. With this arrangement, the harmonic component in ac voltage waveform will also introduce harmonic component in ac current.

FIG. 12 can be further simplified by replacing AGC with a gain block, as shown in FIG. 13. The gain block can be implemented by a resistor divider. With this implementation, the input voltage is scaled down and fed directly into the multiplier. This will simplify the hardware implementation circuit. The drawback is that the output voltage will be more sensitive to input voltage change. 

1. A method for controlling power factor under steady and transient state conditions in an AC-DC power supply converter system with power factor correction based on Boost topology, comprising: (a) determining input voltage (V_(in)(n)) and reference output voltage (V_(ref)) in said system, (b) determining reference input current (i_(ref)(n+1)), actual inductor current (i_(L)(n)) in said system, and c) controlling a duty cycle (d(n)) in said system according to the algorithm ${d(n)} = {{\frac{L}{T_{s}}\frac{{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}}{V_{ref}}} + \frac{V_{ref} - {V_{in}(n)}}{V_{ref}}}$ where L is inductor value and T, is switching period, so as to provide a power factor approaching unity.
 2. A method as claimed in claim 1 wherein said reference input current is an arbitrary waveform.
 3. A method as claimed in claim 1 wherein said reference input current is a rectified sinusoidal current waveform and in phase with the input voltage and equals I_(PK)·|sin(ω_(line)·t(n+1))| where I_(pk) is peak value of the rectified sinusoidal current waveform and ω_(line) is the angular frequency of the input voltage, and controlling a duty cycle (d(n)) in said system according to the algorithm ${d(n)} = {{\frac{L}{T_{s} \cdot V_{ref}} \cdot \left\lbrack {{I_{PK} \cdot {{\sin\left( {\omega_{line} \cdot {t\left( {n + 1} \right)}} \right)}}} - {i_{L}(n)}} \right\rbrack} + \frac{V_{ref} - {V_{in}(n)}}{V_{ref}}}$ so as to provide a power factor approaching unity, and wherein said duty cycle (d(n)) is a digital implementation.
 4. A method as claimed in claim 3 wherein said reference input current is derived from a current waveform lookup table.
 5. A method as claimed in claim 3 wherein said reference input current is derived directly from the input voltage.
 6. A method as claimed in claim 3 wherein said reference input current is derived by calculation.
 7. A method as claimed in claim 3 wherein said algorithm is $\begin{matrix} {{d(t)} = {{\frac{L}{T_{s} \cdot V_{ref}} \cdot \left\lbrack {{I_{PK} \cdot {{\sin\left( {\omega_{line} \cdot t} \right)}}} - {i_{L}(t)}} \right\rbrack} + \frac{V_{ref} - {V_{in}(t)}}{V_{ref}}}} & \quad \end{matrix}$ where i_(L)(t) is the inductor current and V_(in)(t) is input voltage, and wherein said duty cycle (d(t)) is an analog implementation.
 8. A method as claimed in claim 7 wherein said rectified sinusoidal current waveform is derived from an oscillator.
 9. A method as claimed in claim 7 wherein said rectified sinusoidal current waveform is derived from an Automatic Gain Controller with input from said input voltage.
 10. A method as claimed in claim 7 wherein said rectified sinusoidal current waveform is derived from a gain block with input from said input voltage.
 11. An apparatus for controlling power factor in an electronic digital AC to DC power supply converter system, comprising: (a) voltage input means connected to a first analog to digital converter (ADC) so as to generate a first output signal which is fed to a first adder which also receives a reference output voltage signal (V_(ref)) so as to generate a second output signal which is used to generate a third output signal including a factor of $\frac{1}{V_{ref}}.$ (b) a second analog to digital converter (ADC) to receive an inductor current signal and generate a fourth output signal which is fed into a second adder which also receives an reference input current, so as to generate a fifth output signal which is used to generate a sixth output signal including a factor Kc, where $K_{C} = {\frac{L}{T_{s} \cdot V_{ref}}.}$ and c) means to feed said sixth output signal and said third output signal to a third adder so as to generate an output signal representative of a required duty cycle.
 12. An apparatus as claimed in claim 11 including a multiplier to receive input signals from a current waveform lookup table and a voltage error amplifier, so as to produce said reference input current signal; and means to synchronize the start point of the current waveform lookup table to the input voltage.
 13. An apparatus as claimed in claim 11, including a multiplier to receive input signal from an automatic gain controller (AGC) and a voltage error amplifier, so as to produce said reference input current signal.
 14. An apparatus as claimed in claim 11, including a multiplier to receive input signal from a gain block and a voltage error amplifier, so as to produce said reference input current signal.
 15. An apparatus for controlling power factor in an electronic analog AC to DC power supply converter system, comprising: (a) voltage input means connected to a first operational amplifier which is also provided with an reference output voltage (V_(ref)), so as to generate a first output signal which is fed to a second operational amplifier so as to generate a second output signal including a factor of $\frac{1}{V_{ref}}.$ (b) a third operational amplifier receiving an inductor current input signal and a reference input current signal, so as to produce a third output signal which is the difference between said inductor current input signal and said reference input current signal, said third output signal being fed to a fourth operational amplifier so as to generate a fourth output signal. (c) a fifth operational amplifier to receive said fourth output signal and said second output signal so as to produce a fifth output signal representative of a required duty cycle.
 16. An apparatus as claimed in claim 15, including a multiplier to receive input signal from an oscillator and a sixth operational amplifier and generate an output signal representing the reference input current and means to synchronize the oscillator to the input voltage.
 17. An apparatus as claimed in claim 15, including a multiplier to receive input signal from an automatic gain controller (AGC) and a sixth operational amplifier and generate an output signal representing the reference input current.
 18. An apparatus as claimed in claim 15, including a multiplier to receive input signal from a gain block and a sixth operational amplifier and generate an output signal representing the reference input current.
 19. A method for controlling output voltage under steady and transient state conditions in an electronic DC-DC power supply converter system based on Boost topology, and isolated Boost topology comprising: (c) determining input voltage (V_(in)(n)) and reference output voltage (V_(ref)) in said system, (d) determining reference input current (i_(ref)(n+1)), actual inductor current (i_(L)(n)) in said system, and (d) controlling a duty cycle (d(n)) in said system according to the algorithm ${d(n)} = {{\frac{L}{T_{s}}\frac{{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}}{N \cdot V_{ref}}} + \frac{{N \cdot V_{ref}} - {V_{in}(n)}}{N \cdot V_{ref}}}$ where L is inductor value, T, is switching period, and where N is transformer turns ratio for the isolated Boost converter, N=1 for Boost converter, so as to provide the output voltage approaching the reference output voltage.
 20. A method for controlling output voltage under steady and transient state conditions in an electronic DC-DC power supply converter system based on Buck, Forward, Push-Pull, Half-Bridge, Full-Bridge topologies, comprising: (a) determining input voltage (V_(in)(n)) and reference output voltage (V_(ref)) in said system, (b) determining reference input current (i_(ref)+1)), actual inductor current (i_(L)(n)) in said system, and (c) controlling a duty cycle (d(n)) in said system according to the algorithm ${d(n)} = {{\frac{L}{T_{s}} \cdot \frac{{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}}{K \cdot {{V_{in}(n)}/N}}} + \frac{V_{ref}}{K \cdot {{V_{in}(n)}/N}}}$ where L is inductor value, T_(s) is switching period, where K=1 for Buck, Forward, Push-Pull, and Full-Bridge converters and K=0.5 for Half-Bridge converter, where N is transformer turns ratio for Forward, Half-Bridge, Full-Bridge, and Push-Pull converters, N=1 for Buck converter, so as to provide the output voltage approaching the reference output voltage.
 21. A method as claimed in claim 20 wherein said input voltage is a constant value.
 22. A method for controlling output voltage under steady and transient state conditions in an electronic DC-DC power supply converter system based on Buck-Boost and Flyback topology, comprising: (a) determining input voltage (V_(in)(n)) and reference output voltage (V_(ref)) in said system, (b) determining reference input current (i_(ref)(n+1)), actual inductor current (i_(L)(n)) in said system, and (c) controlling a duty cycle (d(n)) in said system according to the algorithm ${d(n)} = {\frac{N \cdot V_{ref}}{{V_{in}(n)} + {N \cdot V_{ref}}} + {\frac{L}{T_{s}} \cdot \frac{1}{{V_{in}(n)} + {N \cdot V_{ref}}} \cdot \left\lbrack {{i_{ref}\left( {n + 1} \right)} - {i_{L}(n)}} \right\rbrack}}$ where L is inductor value and T, is switching period, and where N is transformer turns ratio for the Flyback converter, N=1 for Buck-Boost converter, so as to provide the output voltage approaching the reference output voltage.
 23. A method as claimed in claim 22 wherein said input voltage is a constant value. 